package com.pdsu.alumni.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Acerola
 * @since 2022-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_community_update")
@ApiModel(value="CommunityUpdate对象", description="")
public class CommunityUpdate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "新的社群名字")
    private String newName;

    @ApiModelProperty(value = "新的社群章程")
    private String newRules;

    @ApiModelProperty(value = "新的组织结构")
    private String newStructure;

    @ApiModelProperty(value = "审核状态 0待审核 1已审核  2审核失败")
    private Integer examine;

    @ApiModelProperty(value = "驳回理由")
    private String disagreeReason;

    @ApiModelProperty(value = "申请理由")
    private String applyFile;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除,1启用,0删除")
    @TableLogic
    private Integer deleted;


}
